package cn.kgc.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 肖天锴
 * @version 1.0
 * @date 2022/10/7 - 16:34
 */



public class Client {
    int clientId;
    String phone;
    String idCard;
    String clientName;
    String sex;
    String userName;
    String password;


    public Client(){}

    public Client(String phone, String idCard, String clientName){
        this.phone = phone;
        this.idCard = idCard;
        this.clientName = clientName;
    }


    public Client(String phone, String idCard, String clientName, String sex, String userName, String password) {
        this.phone = phone;
        this.idCard = idCard;
        this.clientName = clientName;
        this.sex = sex;
        this.userName = userName;
        this.password = password;
    }

    public Client(int clientId, String phone, String idCard, String clientName, String sex, String userName, String password) {
        this.clientId = clientId;
        this.phone = phone;
        this.idCard = idCard;
        this.clientName = clientName;
        this.sex = sex;
        this.userName = userName;
        this.password = password;
    }

    public int getClientId() {
        return clientId;
    }

    public void setClientId(int clientId) {
        this.clientId = clientId;
    }


    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    @Override
    public String toString() {
        return "Client{" +
                "clientId=" + clientId +
                ", phone=" + phone +
                ", idCard=" + idCard +
                ", clientName='" + clientName + '\'' +
                ", sex='" + sex + '\'' +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
